use strict;
use Cwd;
BEGIN {
  push @INC, join('/', getcwd(), 't');
}
use Carp;
use Data::Dumper;
use Test::More; # qw(no_plan);
use DateTime::Cursor::TestScaffolding::Operators qw(calculate_number_of_addition_subtraction_tests run_addition_subtraction_tests);
use DateTime::Format::Mail;
use DateTime::TimeZone;
use DateTime::Cursor;

my @intervals = get_supported_intervals();
my @operators = ( '++');
my @timezones = (DateTime::TimeZone->new({name => 'UTC'}), DateTime::TimeZone->new({name => 'America/Denver'}));
my @formatters = ("", DateTime::Format::Mail->new());
my @offsets = (-2, -1, 0 , 1, 2);

my %test_args = ('intervals' => \@intervals,
                 'operators' => \@operators,
                  'timezones' => \@timezones,
                  'formatters' => \@formatters,
                  'offsets' => \@offsets);
my $number_of_tests = calculate_number_of_addition_subtraction_tests(\%test_args);
plan tests => $number_of_tests;
run_addition_subtraction_tests(\%test_args);

1;
